//
//  CountryAreaCell.swift
//  funcode
//
//  Created by Wan Jiading on 2016/11/29.
//  Copyright © 2016年 WanJiading. All rights reserved.
//

import UIKit

class CountryAreaCell: UITableViewCell {

	@IBOutlet weak var countryLabel: UILabel!
	@IBOutlet weak var areaLabel: UILabel!
	
	var countryArea: CountryArea? {
		didSet {
			countryLabel.text = countryArea!.area_name ?? ""
			areaLabel.text = countryArea!.area_code ?? ""
		}
	}
	
    override func awakeFromNib() {
        super.awakeFromNib()
		
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
